a {
  cursor: pointer;
}

.sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  width: 260px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.sidebar .sidebar-background {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: block;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
}

.sidebar .sidebar-background:after {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background: #FFFFFF;
}

.sidebar .sidebar-background:after {
  background: #d50000;
  opacity: .8;
}

.sidebar .logo {
  padding: 15px 0;
  margin: 0;
  display: block;
  position: relative;
  z-index: 4;
}

.sidebar .logo:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 15px;
  height: 1px;
  width: calc(100% - 30px);
  background-color: rgba(180, 180, 180, 0.3);
}

.sidebar .logo .simple-text {
  text-transform: uppercase;
  padding: 5px 0;
  display: block;
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
  font-weight: 400;
  line-height: 30px;
  overflow: hidden;
}

.sidebar .logo-img {
  width: 42px;
  max-height: 42px;
}

.sidebar .logo-img img {
  width: 42px;
  top: 16px;
  left: 18px;
  position: absolute;
}

.sidebar, .main-panel, .sidebar-wrapper {
  -webkit-transition-property: top, bottom, width;
  transition-property: top, bottom, width;
  -webkit-transition-duration: .2s, .2s, .35s;
  transition-duration: .2s, .2s, .35s;
  -webkit-transition-timing-function: linear, linear, ease;
  transition-timing-function: linear, linear, ease;
  -webkit-overflow-scrolling: touch;
}

.sidebar .sidebar-wrapper {
  position: relative;
  height: calc(100vh - 70px);
  overflow-y: scroll;
  width: 277px;
  z-index: 4;
  padding-bottom: 30px;
}

.sidebar .user {
  padding-bottom: 10px;
  margin: 20px auto 0;
  position: relative;
}

.sidebar .user:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 15px;
  height: 1px;
  width: calc(100% - 30px);
  background-color: rgba(180, 180, 180, 0.3);
}

.sidebar .user .photo {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  position: absolute;
  left: 23px;
  z-index: 5;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.sidebar .user .photo img {
  width: 100%;
}

.sidebar .user .info > a {
  padding-left: 70px;
}

.sidebar .user a {
  color: #FFFFFF;
  padding: 6px 10px;
  display: block;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.caret, .bootstrap-tagsinput .tag, .bootstrap-tagsinput [data-role="remove"] {
  -webkit-transition: all 150ms ease-in;
  -moz-transition: all 150ms ease-in;
  -o-transition: all 150ms ease-in;
  -ms-transition: all 150ms ease-in;
  transition: all 150ms ease-in;
}

.sidebar .user .info .caret {
  position: absolute;
  top: 16px;
  right: 26px;
}

.sidebar .nav {
  padding-top: 15px;
}

.sidebar .nav li > a {
  margin: 10px 15px 0;
  border-radius: 3px;
  color: #3C4858;
  padding-left: 10px;
  padding-right: 10px;
}

.sidebar .nav li:first-child > a {
  margin: 0 15px;
}

.sidebar .nav li > a {
  color: #FFFFFF;
}

.sidebar .nav li.active > a {
  color: #3C4858;
  opacity: 1;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(60, 72, 88, 0.4);
}

.sidebar .nav li.active > a > i {
  color: rgba(60, 72, 88, 0.8);
}

.sidebar .nav li:hover:not(.active) > a,
.sidebar .nav li.active > .collapse {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.sidebar .nav li.active > a.collapse > i {
  color: rgba(255, 255, 255, 0.8);
}

.sidebar .sidebar-wrapper .nav span,
.sidebar .sidebar-wrapper .user .info span {
  display: inline-block;
}

.sidebar .sidebar-wrapper .nav .sidebar-normal,
.sidebar .sidebar-wrapper .user .info .sidebar-normal {
  margin: 0;
  position: relative;
  -webkit-transform: translate3d(45px, 0, 0);
  -moz-transform: translate3d(45px, 0, 0);
  -o-transform: translate3d(45px, 0, 0);
  -ms-transform: translate3d(45px, 0, 0);
  transform: translate3d(45px, 0, 0);
  opacity: 1;
  white-space: nowrap;
  -webkit-transition: opacity 300ms linear, transform 300ms linear;
  -moz-transition: opacity 300ms linear, transform 300ms linear;
  -o-transition: opacity 300ms linear, transform 300ms linear;
  -ms-transition: opacity 300ms linear, transform 300ms linear;
  transition: opacity 300ms linear, transform 300ms linear;
}

.sidebar .sidebar-wrapper .nav .sidebar-mini,
.sidebar .sidebar-wrapper .user .info .sidebar-mini {
  text-transform: uppercase;
  width: 30px;
  text-align: center;
  letter-spacing: 1px;
  position: absolute;
  display: inherit;
}

.sidebar .sidebar-wrapper .user .info .sidebar-normal {
  -webkit-transform: translate3d(45px, 0, 0);
  -moz-transform: translate3d(45px, 0, 0);
  -o-transform: translate3d(45px, 0, 0);
  -ms-transform: translate3d(45px, 0, 0);
  transform: translate3d(45px, 0, 0);
}

.nav-container {
  position: relative;
}

.nav > li {
  position: relative;
  display: block;
}

.sidebar li.active > a {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(255, 255, 255, 0.4);
}

.sidebar .nav i {
  font-size: 22px;
  float: left;
  margin-right: 15px;
  line-height: 30px;
  width: 30px;
  text-align: center;
  color: rgba(60, 72, 88, 0.8);
}

.sidebar .nav li i {
  color: rgba(255, 255, 255, 0.8);
}

.sidebar .nav p {
  margin: 0;
  line-height: 30px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 1;
  display: block;
  height: auto;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: opacity 300ms linear, transform 300ms linear;
  -moz-transition: opacity 300ms linear, transform 300ms linear;
  -o-transition: opacity 300ms linear, transform 300ms linear;
  -ms-transition: opacity 300ms linear, transform 300ms linear;
  transition: opacity 300ms linear, transform 300ms linear;
}

.sidebar .nav .caret {
  margin-top: 13px;
  position: absolute;
  right: 18px;
}

.sidebar .user .open .caret,
.sidebar .nav .open .caret {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
